body {
	margin: 0px;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	-webkit-text-size-adjust:none;
}
h1 {
	margin-top: 16px;
	font-size: 20px;
	display: none;
}
h2 {
	margin: 0;
	padding: 0;
	margin-top: 2px;
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: bold;
}
h2 + p {
	margin-top: 0px;
	padding-top: 0px;
}
p.title {
	margin: 16px 0px -16px 0px;
}
a {
	text-decoration: none;
	font-style: italic;
}
span.rem {
	opacity: 0.5;
}
label {
	display: inline-block;
	width: 140px;
}
.ratio {
	width: 30px;
}
button {
	-webkit-appearance: none;
	appearance: none;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	border-radius: 16px;
	padding: 2px 10px 3px 10px;
	min-width: 32px;
	margin: 2px;
}
button.first {
	border-radius: 16px 0 0 16px;
	margin-right: 0px
}
button.last {
	border-radius: 0 16px 16px 0;
	margin-left: -1px;
}
button.next {
	border-radius: 0;
	margin-left: -1px;
	margin-right: 0px;
}
button.select {
	width: 63px;
}
input {
	-webkit-appearance: none;
	appearance: none;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	max-width: 100px;
	padding: 2px 0 4px 4px;
	margin: 2px;
}
input.thecheckbox {
	width: 21px;
	height: 22px;
	overflow: hidden;
}
input.thecheckbox:after {
	content: '\2715';
}
/*input.thecheckbox:checked:after {
	content: '\2715';
}*/
#panel {
	position: fixed;
	margin: 0px;
	padding: 0px 10px 0px 16px;
	padding-bottom: 32px;
	top: 0px;
	bottom: 40px;
	width: 411px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-box-sizing: -webkit-border-box;
	box-sizing: border-box;
}
#screencontainer {
	position: absolute;
	top: 0px;
	left: 410px;
	right: 0px;
	bottom: 0px;
	overflow: auto;
}
#screen {
	overflow: hidden;
	min-width: 100%;
	min-height: 100%;
}
.svg {
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	position: absolute;
}
input, textarea {
	padding: 2px 0 3px 4px;
}
textarea {
	margin-top: 4px;
	width: 392px;
	height: 104px;
}
#animpanel {
	margin-top: 32px;
	margin-bottom: 16px;
}
#gearlist {
	margin-top: 16px;
	margin-bottom: 16px;
}
#gearlist ul {
	padding: 0px;
	margin: 3px 0px;
}
#gearlist ul li {
	list-style: none;
	margin: 0 -16px;
	padding: 3px 16px;
	max-width: 448px;
}
#gearlist p {
	margin: 4px 0px;
}
.listitem {
	cursor: pointer;
}
#footer {
	position: fixed;
	height: 40px;
	bottom: 0px;
	padding: 0px 16px;
	width: 411px;
	-webkit-box-sizing: -webkit-border-box;
	box-sizing: border-box;
}
#contentcover {
	position: absolute;
	top: -100px;
	left: 0px;
	height: 100px;
	width: 410px;
	background: none;
	pointer-events: none;
}
.col0 #contentcover {
	background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
}
.col1 #contentcover {
	background: linear-gradient(to top, rgba(0,113,184,1), rgba(0,113,184,0));
}
.col2 #contentcover {
	background: linear-gradient(to top, rgba(34,34,34,1), rgba(34,34,34,0));
}

#screen.nolabels g.geartext {
	display: none;
}
#screen.noguides g.gearguides {
	display: none;
}
#units,
#about {
	margin: 16px 0;
	padding-right: 16px;
}
#about h2 {
	margin-bottom: 8px;
}


/* color settings */
body.col0 {
	background: #fff;
	color: #444;
}
.col0 a {
	color: #444;
}
.col0 #panel,
.col0 #footer {
	border-right: #ddd solid 1px;
}
.col0 #screencontainer {
	background: #f8f8f8;	/*	248,248,248	*/
}
.col0 button {
	background: #fff;
	color: #444;
}
.col0 button {
	border: 1px solid #444;
}
.col0 button:hover {
	background: #444;
	color: #fff;
}
.col0 input, textarea {
	border: 1px #ccc solid;
}
.col0 input.thecheckbox:after {
	color: #fff;
}
.col0 input.thecheckbox:checked:after {
	color: #444;
}
.col0 #gearlist li.selected {
	background: #444;
	color: #fff;
	font-weight: bold;
}
.col0 .svg.selected .gear, 
.col0 .gear:hover {
	fill: rgba( 118,202,255,0.5 );
}
.col0 .gear {
	fill: rgba(238,238,238,0.8);
}
.col0 g.text polyline {
	stroke: #444;
}
.col0 .shareicon {
	fill: #444;
}
/* blueprint colors */

body.col1,
.col1 input, textarea,
.col1 button {
	background: #0071b8;
	color: #fefefe;
}
.col1 #footer,
.col1 a {
	color: #fefefe;
}
.col1 #panel,
.col1 #footer {
	border-right: #3f8fc4 solid 1px;
}
.col1 button {
	border: 1px solid #fefefe;
}
.col1 button:hover {
	background: #fefefe;
	color: #0071b8;
}

/*.col1 #screencontainer {
	background: #043661;
}*/
.col1 input, textarea {
	border: 1px rgba( 254, 254, 254, 0.5 ) solid;
}
.col1 input.thecheckbox:after {
	color: #0071b8;
}
.col1 input.thecheckbox:checked:after {
	color: #fefefe;
}
.col1 #footer g.text {
	opacity: 0.5;
}
.col1 .svg.selected .gear, 
.col1 .gear:hover {
	fill: rgba( 51,141,198, 0.8 );
}
.col1 .gear {
	fill: rgba(0, 113, 184, 0.8);
}
.col1 .gear,
.col1 g.text polyline,
.col1 g.guides circle,
.col1 g.guides polyline {
	stroke: #fefefe;
}
.col1 g.guides {
	opacity: 0.8;
}
.col1 g.guides circle.pitch {
	opacity: 0.5;
}
.col1 g.guides circle.base {
	opacity: 0.3;
}
.col1 g.guides circle.root,
.col1 g.guides circle.outer {
	opacity: 0.2;
}
.col1 circle.firstmarker {
	fill: #fefefe;
}
.col1 #gearlist li {
	color: rgba( 255,255,255, 0.5 );
}
.col1 #gearlist li.selected {
	background: #fefefe;
	color: #0071b8;
	font-weight: bold;
	/*rgba( 51,141,198, 0.8 );
	color: #fff;*/
}
.col1 .shareicon {
	fill: #fff;
}
/* dark colors */

body.col2,
.col2 input, textarea {
	background: #222;
	color: #ccc;
}
.col2 #footer,
.col2 a {
	color: #ccc;
}
.col2 #panel,
.col2 #footer {
	border-right: #444 solid 1px;
}
.col2 button {
	background: #222;
	color: #ccc;
}
.col2 button {
	border: 1px solid #ccc;
}
.col2 button:hover {
	background: #ccc;
	color: #222;
}
.col2 input, textarea {
	border: 1px #888 solid;
}
.col2 input.thecheckbox:after {
	color: #222;
}
.col2 input.thecheckbox:checked:after {
	color: #ccc;
}
.col2 #gearlist li.selected {
	background: #ccc;
	color: #222;
	font-weight: bold;
}
.col2 #screencontainer {
	background: #1c1c1c;
}
.col2 input, textarea {
	border: 1px rgba( 254, 254, 254, 0.5 ) solid;
}
.col2 #footer g.text {
	opacity: 0.5;
}
.col2 .svg.selected .gear, 
.col2 .gear:hover {
	fill: rgba( 118,202,255,0.5 );
	/*fill: rgba( 0,97,137, 0.8 );*/
}
.col2 .gear {
	fill: rgba(48, 48, 48, 0.5);
}
.col2 .gear,
.col2 g.text polyline,
.col2 g.guides circle,
.col2 g.guides polyline {
	stroke: #fefefe;
}
.col2 g.guides {
	opacity: 0.8;
}
.col2 g.guides circle.pitch {
	opacity: 0.5;
}
.col2 g.guides circle.base {
	opacity: 0.3;
}
.col2 g.guides circle.root,
.col2 g.guides circle.outer {
	opacity: 0.2;
}
.col2 circle.firstmarker {
	fill: #ccc;
}
.col2 .svg.selected circle.firstmarker, 
.col2 .gear:hover circle.firstmarker {
	fill: #fefefe;
}
.col2 #gearlist li {
	color: #888;
}
.col2 #gearlist li.selected {
	background: #ccc;
	color: #222;
}
.col2 #panel g.text polyline {
	stroke: #ccc;
}
.col2 .shareicon {
	fill: #ccc;
	/*stroke-width: 0.5;
	stroke: #ccc;*/
}

#PCHB {
	position: fixed;
	right: 8px;
	top: 8px;
}
#PCHBsh {
	position: fixed;
	right: 24px;
	top: 24px;
	width: 256px;
	height: 200px;
	border-radius: 8px;
	box-shadow: 0 10px 32px rgba( 0,0,0, 0.2 );
	pointer-events: none;
}
#gobanner, #closebanner {
	pointer-events: all;
	cursor: pointer;
}
#closebanner {
	opacity: 0;
}
#PCHB.dimmed {
	opacity: 0;
}
#PCHB.dimmed:hover,
#PCHB:hover #closebanner {
	opacity: 1;
}


#DWNLD_wrapper {
	opacity: 1;
	
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-align: center;
	
	font-size: 120%;
	
	background: rgba(0,0,0, 0.8);
}
#DWNLD_wrapper h2 {
	font-size: 150%;
	margin-bottom: 16px;
}
.hidden {
	opacity: 0 !important;
	pointer-events: none;
}
.hidden2 {
	display: none !important;
}
.disabled {
	opacity: 0.3 !important;
	pointer-events: none;
}
#DWNLD_container {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 auto;
	width: 80%;
	min-width: 500px;
	max-width: 600px;
	height: 432px;
	overflow: hidden;
	padding: 32px;
	color: #fff;
}
ul.prices {
	list-style: none;
	text-align: left;
	display: block;
	margin: 24px auto;
	width: intrinsic;
	padding: 0;
}
ul.prices li {
	clear: left;
	height: 35px;
	margin-bottom: -1px;
	padding-top: 9px;
	padding-right: 20px;
}
ul.prices li .price {
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	width: 100px;
	text-align: right;
	margin-right: 16px;
}
ul.prices li {
	border: 1px solid #fff;
}
ul.prices li:first-child {
	border-radius: 10px 10px 0 0;	
}
ul.prices li:last-child {
	border-radius: 0 0 10px 10px;	
}
ul.prices li:hover,
ul.prices li.selected {
	background: #fff;
	color: #000;
}
#DWNLD_container button {
	font-family: Helvetica, sans-serif;
	font-weight: bold;
	font-size: 20px;
	border-radius: 20px;
	padding: 8px 20px;
	min-width: 32px;
	margin: 2px auto;
	background: none;
	color: #fff;
}
#DWNLD_container button {
	border: 1px solid #fff;
}
#DWNLD_container button:hover {
	background: #fff;
	color: #000;
}

#downloadsvg,
#priceselect,
#PCHB, #PCHB g,
#DWNLD_wrapper {
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition:    opacity 0.5s ease-in-out;
	-o-transition: 	    opacity 0.5s ease-in-out;
	-ms-transition:     opacity 0.5s ease-in-out;
	transition: 	    opacity 0.5s ease-in-out;
}
.rem {
	opacity: 0.4;
}

.type0, .type1, .type2 {
	display: none;
}

.disp0 .type0,
.disp1 .type1,
.disp2 .type2 {
	display: block;
}
.disp0 .type0.disabled,
.disp1 .type1.disabled,
.disp2 .type2.disabled {
	display: none;
}

#checker.overlayinput {
	border: 1px solid #fff;
	min-width: 200px;
	height: 20px;
	background: none;
	padding: 10px 16px 9px;
	font-size: 20px;
	margin: 2px 16px 2px 2px;
}
#checkmail {
	display: none;
}
.pay a {
	cursor: pointer;
}

span.disabled button {
	display: none;
}
